package com.saishi.dao;

import com.saishi.entity.Classes;

import java.sql.SQLException;
import java.sql.Date;
import java.util.List;

public interface ClassesDao {
    public List<Classes> selectAll()throws SQLException;
    public void add(String cname, String cgrade, String cstate, Date ccreatime,int teacher)throws SQLException;
    public void del(int id)throws SQLException;
    public List selectId()throws SQLException;
    public List selectById(int cid)throws SQLException;
    public void Update(int cid,String cname,String cgrade,String cstate,Date ccreatime,int teacher)throws  SQLException;
 }
